import {createSlice} from "@reduxjs/toolkit";

export const ossSlice = createSlice({
    name: "oss",
    initialState: () => {
        return {
            ossInfo: {},
        };
    },
    reducers: {
        set_ossInfo(state, action) {
            state.ossInfo = action.payload
        },
    }
});

export const {
    set_ossInfo
} = ossSlice.actions;